﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WSweb.Master" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" ValidateRequest="false" Inherits="WSweb.Admin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
        <div id="admin">
            <div id="admin-header">
                <div><h1>Administratorsko sučelje</h1></div>
            </div>
            <div id="admin-content">
                <div>
                    <h2 style="color: #AEAEAE">&gt; Unos vijesti</h2>
                    <p class="title">Ime vijesti <br />
                        <asp:TextBox ID="txt_imeVijesti" runat="server"  
                            CssClass="admin-input"></asp:TextBox>
                    </p>
                    <p>Sadržaj vijesti
                        <br />
                        <asp:TextBox ID="txt_sadrzajVijesti" runat="server" Height="128px" 
                            TextMode="MultiLine" Width="284px" CssClass="admin-input"></asp:TextBox>
                    </p>
                    <p>Ubaci sliku<br />
                        <asp:FileUpload ID="fuImage" runat="server" />
                    &nbsp; <span class="img-font">
                        <br />
                        Podržani formati (jpg,gif,png,bmp)</span>
                    </p>
                    <p>
                        <asp:Button ID="btnUnesi" runat="server" Text="Pregledaj" Width="85px" 
                            onclick="btnUnesi_Click" />
                             &nbsp;
                        <asp:Button ID="btnOcisti" runat="server" Text="Očisti" Width="85px" 
                            onclick="btnOcisti_Click" />
                             &nbsp;
                        <asp:Button ID="btnSpremi" runat="server" Text="Spremi" Width="85px" 
                            onclick="btnSpremi_Click" />
                    </p>
                </div>
                 <h2><a href="Brisanje_vijesti.aspx" title="Idi na brisanje vijesti">&gt; Brisanje vijesti</a></h2>
            </div>
            <div id="admin-preview">
                <asp:Literal ID="ltlVijesti" runat="server" Mode="Transform"></asp:Literal>
            </div>
        </div>
    </form>
</asp:Content>
